/**
* OfdOrderFood.ts
* 订单商品 数据模型
*/

// 数据创建参数类
export class OfdOrderFoodCreateParam {
	id?: number; // 主键
	code?: number; // 编码
	orderCode?: number; // 订单编码
	foodSkuCode?: number; // 食品SKU编码
	foodSkuOptionCode?: number; // 食品SKU选项编码
	count?: number; // 食品数量
	createTime?: number; // 创建时间
	updateTime?: number; // 更新时间
	isDeleted?: number; // 是否删除 0 - 未删除 1 - 已删除
	status?: number; // 状态 0 - 正常 1 - 异常

	// 构造函数2
	constructor(id?: number, code?: number, orderCode?: number, foodSkuCode?: number, foodSkuOptionCode?: number, count?: number, createTime?: number, updateTime?: number, isDeleted?: number, status?: number) {
		this.id = id;
		this.code = code;
		this.orderCode = orderCode;
		this.foodSkuCode = foodSkuCode;
		this.foodSkuOptionCode = foodSkuOptionCode;
		this.count = count;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.isDeleted = isDeleted;
		this.status = status;
	}
}

// 数据更新参数类
export class OfdOrderFoodUpdateParam {
	id: number; // 主键
	code?: number; // 编码
	orderCode?: number; // 订单编码
	foodSkuCode?: number; // 食品SKU编码
	foodSkuOptionCode?: number; // 食品SKU选项编码
	count?: number; // 食品数量
	createTime?: number; // 创建时间
	updateTime?: number; // 更新时间
	isDeleted?: number; // 是否删除 0 - 未删除 1 - 已删除
	status?: number; // 状态 0 - 正常 1 - 异常

	// 构造函数
	constructor(id: number, code?: number, orderCode?: number, foodSkuCode?: number, foodSkuOptionCode?: number, count?: number, createTime?: number, updateTime?: number, isDeleted?: number, status?: number) {
		this.id = id;
		this.code = code;
		this.orderCode = orderCode;
		this.foodSkuCode = foodSkuCode;
		this.foodSkuOptionCode = foodSkuOptionCode;
		this.count = count;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.isDeleted = isDeleted;
		this.status = status;
	}
}

// 数据创建或者更新参数类
export class OfdOrderFoodCreateOrUpdateParam {
	id?: number; // 主键
	code?: number; // 编码
	orderCode?: number; // 订单编码
	foodSkuCode?: number; // 食品SKU编码
	foodSkuOptionCode?: number; // 食品SKU选项编码
	count?: number; // 食品数量
	createTime?: number; // 创建时间
	updateTime?: number; // 更新时间
	isDeleted?: number; // 是否删除 0 - 未删除 1 - 已删除
	status?: number; // 状态 0 - 正常 1 - 异常

	// 构造函数2
	constructor(id?: number, code?: number, orderCode?: number, foodSkuCode?: number, foodSkuOptionCode?: number, count?: number, createTime?: number, updateTime?: number, isDeleted?: number, status?: number) {
		this.id = id;
		this.code = code;
		this.orderCode = orderCode;
		this.foodSkuCode = foodSkuCode;
		this.foodSkuOptionCode = foodSkuOptionCode;
		this.count = count;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.isDeleted = isDeleted;
		this.status = status;
	}
}

// 数据搜索参数类
export class OfdOrderFoodSearchParam {
	id?: number; // 主键
	code?: number; // 编码
	orderCode?: number; // 订单编码
	foodSkuCode?: number; // 食品SKU编码
	foodSkuOptionCode?: number; // 食品SKU选项编码
	count?: number; // 食品数量
	createTime?: number; // 创建时间
	updateTime?: number; // 更新时间
	isDeleted?: number; // 是否删除 0 - 未删除 1 - 已删除
	status?: number; // 状态 0 - 正常 1 - 异常

	// 构造函数2
	constructor(id?: number, code?: number, orderCode?: number, foodSkuCode?: number, foodSkuOptionCode?: number, count?: number, createTime?: number, updateTime?: number, isDeleted?: number, status?: number) {
		this.id = id;
		this.code = code;
		this.orderCode = orderCode;
		this.foodSkuCode = foodSkuCode;
		this.foodSkuOptionCode = foodSkuOptionCode;
		this.count = count;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.isDeleted = isDeleted;
		this.status = status;
	}
}

// 排序参数类
export class OfdOrderFoodOrderParam {
	id?: number; // 主键
	code?: number; // 编码
	orderCode?: number; // 订单编码
	foodSkuCode?: number; // 食品SKU编码
	foodSkuOptionCode?: number; // 食品SKU选项编码
	count?: number; // 食品数量
	createTime?: number; // 创建时间
	updateTime?: number; // 更新时间
	isDeleted?: number; // 是否删除
	status?: number; // 状态

	// 构造函数
	constructor(id?: number, code?: number, orderCode?: number, foodSkuCode?: number, foodSkuOptionCode?: number, count?: number, createTime?: number, updateTime?: number, isDeleted?: number, status?: number) {
		this.id = id; // 主键
		this.code = code; // 编码
		this.orderCode = orderCode; // 订单编码
		this.foodSkuCode = foodSkuCode; // 食品SKU编码
		this.foodSkuOptionCode = foodSkuOptionCode; // 食品SKU选项编码
		this.count = count; // 食品数量
		this.createTime = createTime; // 创建时间
		this.updateTime = updateTime; // 更新时间
		this.isDeleted = isDeleted; // 是否删除 0 - 未删除 1 - 已删除
		this.status = status; // 状态 0 - 正常 1 - 异常
	}
}

// 请求响应结果数据类型
export interface OfdOrderFoodResult{
	id: number; // 主键
	code?: number; // 编码
	orderCode?: number; // 订单编码
	foodSkuCode?: number; // 食品SKU编码
	foodSkuOptionCode?: number; // 食品SKU选项编码
	count?: number; // 食品数量
	createTime?: number; // 创建时间
	updateTime?: number; // 更新时间
	isDeleted?: number; // 是否删除 0 - 未删除 1 - 已删除
	status?: number; // 状态 0 - 正常 1 - 异常
}
